﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace PlayDeezGames.Common
{
    public static class Factories
    {
        public static void Register()
        {
            Descriptor.DescriptorFactory.Register();
            Property.Factory.Register();
            StringProperty.StringPropertyPropertyFactory.Register();
            StringProperty.StringPropertyFactory.Register();
            IntProperty.IntPropertyPropertyFactory.Register();
            IntProperty.IntPropertyFactory.Register();
            DoubleProperty.DoublePropertyPropertyFactory.Register();
            DoubleProperty.DoublePropertyFactory.Register();
            BoolProperty.BoolPropertyPropertyFactory.Register();
            BoolProperty.BoolPropertyFactory.Register();
            StringGeneratorProperty.StringGeneratorPropertyFactory.Register();
            StringGeneratorProperty.StringGeneratorPropertyPropertyFactory.Register();
            IntGeneratorProperty.IntGeneratorPropertyFactory.Register();
            IntGeneratorProperty.IntGeneratorPropertyPropertyFactory.Register();
            StringListProperty.StringListPropertyFactory.Register();
            StringListProperty.StringListPropertyPropertyFactory.Register();

        }
        public static void Unregister()
        {
            Descriptor.DescriptorFactory.Unregister();
            Property.Factory.Unregister();
            StringProperty.StringPropertyPropertyFactory.Unregister();
            StringProperty.StringPropertyFactory.Unregister();
            IntProperty.IntPropertyPropertyFactory.Unregister();
            IntProperty.IntPropertyFactory.Unregister();
            DoubleProperty.DoublePropertyPropertyFactory.Unregister();
            DoubleProperty.DoublePropertyFactory.Unregister();
            BoolProperty.BoolPropertyPropertyFactory.Unregister();
            BoolProperty.BoolPropertyFactory.Unregister();
            StringGeneratorProperty.StringGeneratorPropertyFactory.Unregister();
            StringGeneratorProperty.StringGeneratorPropertyPropertyFactory.Unregister();
            IntGeneratorProperty.IntGeneratorPropertyFactory.Unregister();
            IntGeneratorProperty.IntGeneratorPropertyPropertyFactory.Unregister();
            StringListProperty.StringListPropertyFactory.Unregister();
            StringListProperty.StringListPropertyPropertyFactory.Unregister();
        }
    }
}
